package com.lichongbing.lyoggl.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lichongbing.lyoggl.model.LyogglUsers;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;

/**
 *
 */
public interface LyogglUsersService extends IService<LyogglUsers> {

    Page<LyogglUsers> selectPage(Page<LyogglUsers> page, LambdaQueryWrapper<LyogglUsers> orderByAsc);
    UserDetails loadUserByUsername(String var1) throws UsernameNotFoundException;

    LyogglUsers getLyogglUsersById(String userid);

    boolean isToken(String userid);

    String getPushToken(String userid);

    int getConfiguration();
}
